package com.ruoyi.configuration.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预存奖励设置对象 mg_pre_stored_rewards_conf
 * 
 * @author ruoyi
 * @date 2024-01-16
 */
public class MgPreStoredRewardsConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 预存金额下限 */
    @Excel(name = "预存金额下限")
    private BigDecimal priceStart;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal priceEnd;

    /** 预存类型 0  以上 范围 1 */
    @Excel(name = "预存类型 0  以上 范围 1")
    private Long type;

    /** 折扣 */
    @Excel(name = "折扣")
    private BigDecimal discount;

    /** 福利奖品 */
    @Excel(name = "福利奖品")
    private String welfare;

    /** 序号 */
    @Excel(name = "序号")
    private String sort;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPriceStart(BigDecimal priceStart) 
    {
        this.priceStart = priceStart;
    }

    public BigDecimal getPriceStart() 
    {
        return priceStart;
    }
    public void setPriceEnd(BigDecimal priceEnd) 
    {
        this.priceEnd = priceEnd;
    }

    public BigDecimal getPriceEnd() 
    {
        return priceEnd;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setWelfare(String welfare) 
    {
        this.welfare = welfare;
    }

    public String getWelfare() 
    {
        return welfare;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("priceStart", getPriceStart())
            .append("priceEnd", getPriceEnd())
            .append("type", getType())
            .append("discount", getDiscount())
            .append("welfare", getWelfare())
            .append("sort", getSort())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
